import request from '@/utils/request'

// 查询收费标准列表
export function listNorm(query) {
  return request({
    url: '/payfee/norm/list',
    method: 'get',
    params: query
  })
}

// 查询收费标准详细
export function getNorm(normId) {
  return request({
    url: '/payfee/norm/' + normId,
    method: 'get'
  })
}

// 新增收费标准
export function addNorm(data) {
  return request({
    url: '/payfee/norm',
    method: 'post',
    data: data
  })
}

// 修改收费标准
export function updateNorm(data) {
  return request({
    url: '/payfee/norm',
    method: 'put',
    data: data
  })
}

// 删除收费标准
export function delNorm(normId) {
  return request({
    url: '/payfee/norm/' + normId,
    method: 'delete'
  })
}

// 导出收费标准
export function exportNorm(query) {
  return request({
    url: '/payfee/norm/export',
    method: 'get',
    params: query
  })
}